package com.evildog.workspace.system.application.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * component与后端接口权限关联
 * </p>
 *
 * @author evildog
 * @since 2020-07-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_component_api_permission_link")
@ApiModel(value="ComponentApiPermissionLink对象", description="component与后端接口权限关联")
public class ComponentApiPermissionLink implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "componen_permission_id")
    private Long componentPermissionId;

    @ApiModelProperty(value = "后端接口权限id")
    private Long apiPermissionId;


}
